package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc ObjDivisionLaborDto
     * @使用场景
     */
    @Data
    public class ObjDivisionLaborDto extends BaseDto  implements Serializable {
      
    /**
     * 角色标识 
     */
    @ApiModelProperty("角色标识")
    private String	 roleCode;

    /**
     * 组内职务名称 
     */
    @ApiModelProperty("组内职务名称")
    private String	 virtualOrganizationPosition;

    /**
     * 个人账号 
     */
    @ApiModelProperty("个人账号")
    private String	 userId;
/**
     * 虚拟组织成员就职记录ID 
     */
    @ApiModelProperty("虚拟组织成员就职记录ID")
    private String	 virtualOrgInductionRecordId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ObjDivisionLaborDto that = (ObjDivisionLaborDto) o;
      return  roleCode == that.roleCode&&virtualOrganizationPosition == that.virtualOrganizationPosition&&userId == that.userId&&virtualOrgInductionRecordId == that.virtualOrgInductionRecordId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), roleCode,virtualOrganizationPosition,userId,virtualOrgInductionRecordId);
    }
    
      

    }
   